﻿#parse("partials/header.html") #parse("partials/sidebar.html")
<script>
    jQuery(document).ready(function () {
        jQuery("#spec").validationEngine();
        jQuery("#spec").submit(
            function () {
                if (jQuery("#spec").valid() == true) {
                    jQuery.blockUI();
                    var post_data = jQuery(this).serialize();
                    var form_action = jQuery(this).attr("action");
                    var form_method = jQuery(this).attr("method");
                    jQuery.ajax({
                        type: form_method,
                        url: form_action,
                        cache: false,
                        dataType: "json",
                        data: post_data,
                        success: function (data) {
                            jQuery("#notif").html(data['strNotification']);
                            jQuery.unblockUI();
                        },
                        error: function (data) {
                            jQuery.unblockUI();
                        },
                        complete: function () {

                        }
                    });
                }
                return false;
            });
    });
</script>


  <div id="mws-container" class="clearfix">
    <div class="container">
        <form method="post" action="/master/groupspecialist/savespecialist/" class="cruds" id="spec">
        <input type="hidden" value="$IsCreate" name="IsCreate" id="IsCreate" />
        <input type="hidden" value="$reffSpecialist.Id" name="idSpecialist" id="Id" />
         <input type="hidden" value="$reffSpecialist.GroupSpecialistId" name="reffSpecialist.GroupSpecialistId" id="reffSpecialist.GroupSpecialistId" />
          <input type="hidden" value="$GroupSpecialistID" name="GroupSpecialistID" id="GroupSpecialistID"/>
           <!--<input type="text" value="$GroupName" name="GroupName" id="GroupName"/>-->
        <div class="mws-panel grid_8">
            <div class="mws-panel-header">
                <span class="mws-i-24 i-table-1">$Pagetitle</span>
                
            </div>
            <div class="mws-panel-body">
                <div class="mws-panel-toolbar top clearfix">
                    <ul>
                     <li><a class="mws-ic-16 ic-accept"  href= "/master/groupspecialist/settingspecialist/?groupid=$reffSpecialist.Id" title="Accept">
                           Back Specialty </a></li>
                      <li><a class="mws-ic-16 ic-accept" href="/master/groupspecialist/" title="Accept">Back Group Specialty</a></li>
                     <!-- <li><a class="mws-ic-16 ic-accept" href="/master/groupspecialist/createspecialist/" title="Accept">
                            Add Specialisty </a></li>-->
                  
                    </ul>
                </div>
                <div id="notif" >
                    $Notification
                </div>
                <div class="mws-form" action="#">
                    <div class="grid_4">
                        <div class="mws-form-inline">
                            <div class="mws-form-row">
                                <label>
                                  Speciality<span style="color: #FF0000; font-size: medium;">*</span></label>
                                
                                <div class="mws-form-item">
                                
									  <input class="mws-textinput required"  id="actsd2" name="NameValue" type="text"
                                                value="$reffSpecialist.NameValue" />
                                </div>
                            </div>
                            	<div class="mws-form-row">
                               <!-- <label>
                                    Group Specialty</label>-->
                                   <!-- $ddspecialist-->
                                   <!--$DdDropspec-->
                                  <input type="hidden" value="$GroupName" name="GroupName" id="GroupName"/>
                            </div>
                             <div class="mws-form-row">
                                <label>
                                  Speciality Code<span style="color: #FF0000; font-size: medium;">*</span></label>
                                
                                <div class="mws-form-item">
                                
									  <input class="mws-textinput required"  id="actsd2" name="CodeValue" type="text"
                                                value="$reffSpecialist.CodeValue" />
                                </div>
                                <div class="mws-form-row">
                                <br />
                                <span style="color: #FF0000; font-size: large;">*</span><span style="color: #FF0000;">
                                    : Mandatory</span>
                            </div>    
                            </div>
                        </div>
                    </div>
                    <div class="clear15">
                    </div>
                    <div class="mws-button-row">
                        <input name="btnAction" class="mws-button red" type="submit" value="Save" />
                        <input class="mws-button gray" type="reset" value="Reset" />
                    </div>
                </div>
            </div>
        </div>
        </form>
    </div>
#parse("partials/footer.html")
